package com.zhsource.system.service;

import com.github.pagehelper.PageInfo;
import com.zhsource.system.domain.Course;
import com.zhsource.system.query.CourseQuery;
import org.springframework.web.multipart.MultipartFile;


import java.util.List;

public interface ICourseService {
    List<Course> list();

    Course selectById(Long id);

    PageInfo<Course> page(CourseQuery courseQuery);

    void insert(Course course);

    void update(Course course);

    void delete(Long id);

    void batchDel(List<Long> ids);

    List<Course> getAll();

    void importExcel(MultipartFile file);
}
